www.gusucode.com > vc++ 远程控制示例源程序-源码程序 > vc++ 远程控制示例源程序-源码程序\code\PeerYouC\EditWriteScreen.cpp
// EditWriteScreen.cpp : implementation file // Download by http://www.NewXing.com #include "stdafx.h" #include "peeryouc.h" #include "EditWriteScreen.h" #ifdef _DEBUG #define new DEBUG_NEW #undef THIS_FILE static char THIS_FILE[] = __FILE__; #endif ///////////////////////////////////////////////////////////////////////////// // CEditWriteScreen IMPLEMENT_DYNCREATE(CEditWriteScreen, CEditView) CEditWriteScreen::CEditWriteScreen() { } CEditWriteScreen::~CEditWriteScreen() { } BEGIN_MESSAGE_MAP(CEditWriteScreen, CEditView) //{{AFX_MSG_MAP(CEditWriteScreen) ON_CONTROL_REFLECT(EN_CHANGE, OnChange) //}}AFX_MSG_MAP END_MESSAGE_MAP() ///////////////////////////////////////////////////////////////////////////// // CEditWriteScreen drawing void CEditWriteScreen::OnDraw(CDC* pDC) { CDocument* pDoc = GetDocument(); // TODO: add draw code here } ///////////////////////////////////////////////////////////////////////////// // CEditWriteScreen diagnostics #ifdef _DEBUG void CEditWriteScreen::AssertValid() const { CEditView::AssertValid(); } void CEditWriteScreen::Dump(CDumpContext& dc) const { CEditView::Dump(dc); } #endif //_DEBUG ///////////////////////////////////////////////////////////////////////////// // CEditWriteScreen message handlers void CEditWriteScreen::OnChange() { // TODO: If this is a RICHEDIT control, the control will not // send this notification unless you override the CEditView::OnInitDialog() // function and call CRichEditCtrl().SetEventMask() // with the ENM_CHANGE flag ORed into the mask. // TODO: Add your control notification handler code here }